package cn.tedu.csmall.product.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class AttributeTemplateAddNewParam implements Serializable {

    /*
    * @ApiModelProperty注解用在控制器里方法中封装的参数的属性值上
    * value表示字段说明,
    * required表示是否必须，
    * example表示示例值
    * */
    @ApiModelProperty(value = "属性模板名称",required = true,example = "属性模板名称")
    private String name;

    @ApiModelProperty(value = "属性模板简介",required = true,example = "属性模板的简介")
    private String pinyin;

    @ApiModelProperty(value = "属性模板关键词",required = true,example = "k1")
    private String keywords;

    @ApiModelProperty(value = "排序序号，必须是1~255之间的数字",required = true,example = "95")
    private Integer sort;

}
